package com.tongda.core.vo;

import java.math.BigDecimal;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class Bill {

	private String billId;
	/**
	 * 单号
	 */
	private String billNo;
	/**
	 * 卓号
	 */
	private String tabNo;
	/**
	 * 账单状态
	 */
	private String billStatus;
	/**
	 * 开单时间
	 */
	private String createTime;;
	/**
	 * 最后操作人
	 */
	private String updateEmployee;
	/**
	 * 餐台信息
	 */
	private String tableInfo;
	/**
	 * 帐单菜肴
	 */
	private List<Dish> dishes;
	/**
	 * 帐单菜肴json串
	 */
	private String dishesStr;
	/**
	 * 帐单类型
	 */
	private String billType;

	private String avoidfoodNameArray;

	private String avoidfoodIdArray;

	private String tasteNameArray;

	private String tasteIdArray;

	private String pungentLevel;

	private String notes;

	/**
	 * 菜品总价
	 */
	private BigDecimal oriCost;
	/**
	 * 服务费
	 */
	private BigDecimal serviceChargeMoney;
	/**
	 * 服务描述
	 */
	private String serviceChargeType;
	/**
	 * 消费合计
	 */
	private BigDecimal consumeCost;
	/**
	 * 卡号
	 */
	private String cardNo;

	/**
	 * 折扣方案
	 */
	private String discountName;

	/**
	 * 折扣描述
	 */
	private String dishesTypeDiscountDesc;

	/**
	 * 优惠金额
	 */
	private BigDecimal saveCost;

	/**
	 * 抹零金额
	 */
	private BigDecimal molingModeCost;

	/**
	 * 预付押金
	 */
	private BigDecimal rateCost;

	/**
	 * 应付金额
	 */
	private BigDecimal payableCost;

	/**
	 * 实付金额
	 */
	private BigDecimal realCost;

	/**
	 * 最后一次催菜时间
	 */
	private String lastUrgeTime;

	private String payments;

	private String oddChange;
	/**
	 * 该账单是否可以特价
	 */
	private String isSpecialPrice;
	/**
	 * 该账单是否可以折扣
	 */
	private String isOnSaleStr;

	/**
	 * 账单菜肴数量
	 */
	private String totalDishesCount;
	
	/**
	 * 是否在线支付
	 */
	private String isOnlinePayment;

	public String getLastUrgeTime() {
		return lastUrgeTime;
	}

	public void setLastUrgeTime(String lastUrgeTime) {
		this.lastUrgeTime = lastUrgeTime;
	}

	public BigDecimal getOriCost() {
		return oriCost;
	}

	public void setOriCost(BigDecimal oriCost) {
		this.oriCost = oriCost;
	}

	public String getPungentLevel() {
		return pungentLevel;
	}

	public void setPungentLevel(String pungentLevel) {
		this.pungentLevel = pungentLevel;
	}

	public String getNotes() {
		return notes;
	}

	public void setNotes(String notes) {
		this.notes = notes;
	}

	public String getAvoidfoodNameArray() {
		return avoidfoodNameArray;
	}

	public void setAvoidfoodNameArray(String avoidfoodNameArray) {
		this.avoidfoodNameArray = avoidfoodNameArray;
	}

	public String getAvoidfoodIdArray() {
		return avoidfoodIdArray;
	}

	public void setAvoidfoodIdArray(String avoidfoodIdArray) {
		this.avoidfoodIdArray = avoidfoodIdArray;
	}

	public String getTasteNameArray() {
		return tasteNameArray;
	}

	public void setTasteNameArray(String tasteNameArray) {
		this.tasteNameArray = tasteNameArray;
	}

	public String getTasteIdArray() {
		return tasteIdArray;
	}

	public void setTasteIdArray(String tasteIdArray) {
		this.tasteIdArray = tasteIdArray;
	}

	public String getBillType() {
		return billType;
	}

	public void setBillType(String billType) {
		this.billType = billType;
	}

	public String getDishesStr() {
		return dishesStr;
	}

	public void setDishesStr(String dishesStr) {
		this.dishesStr = dishesStr;
	}

	private String serviceStr;

	public String getTableInfo() {
		return tableInfo;
	}

	public void setTableInfo(String tableInfo) {
		this.tableInfo = tableInfo;
	}

	public List<Dish> getDishes() {
		return dishes;
	}

	public void setDishes(List<Dish> dishes) {
		this.dishes = dishes;
	}

	public String getServiceStr() {
		return serviceStr;
	}

	public void setServiceStr(String serviceStr) {
		this.serviceStr = serviceStr;
	}

	public String getUpdateEmployee() {
		return updateEmployee;
	}

	public void setUpdateEmployee(String updateEmployee) {
		this.updateEmployee = updateEmployee;
	}

	public String getBillId() {
		return billId;
	}

	public void setBillId(String billId) {
		this.billId = billId;
	}

	public String getBillNo() {
		return billNo;
	}

	public void setBillNo(String billNo) {
		this.billNo = billNo;
	}

	public String getTabNo() {
		return tabNo;
	}

	public void setTabNo(String tabNo) {
		this.tabNo = tabNo;
	}

	public String getBillStatus() {
		return billStatus;
	}

	public void setBillStatus(String billStatus) {
		this.billStatus = billStatus;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public BigDecimal getServiceChargeMoney() {
		return serviceChargeMoney;
	}

	public void setServiceChargeMoney(BigDecimal serviceChargeMoney) {
		this.serviceChargeMoney = serviceChargeMoney;
	}

	public String getServiceChargeType() {
		return serviceChargeType;
	}

	public void setServiceChargeType(String serviceChargeType) {
		this.serviceChargeType = serviceChargeType;
	}

	public BigDecimal getConsumeCost() {
		return consumeCost;
	}

	public void setConsumeCost(BigDecimal consumeCost) {
		this.consumeCost = consumeCost;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getDiscountName() {
		return discountName;
	}

	public void setDiscountName(String discountName) {
		this.discountName = discountName;
	}

	public String getDishesTypeDiscountDesc() {
		return dishesTypeDiscountDesc;
	}

	public void setDishesTypeDiscountDesc(String dishesTypeDiscountDesc) {
		this.dishesTypeDiscountDesc = dishesTypeDiscountDesc;
	}

	public BigDecimal getSaveCost() {
		return saveCost;
	}

	public void setSaveCost(BigDecimal saveCost) {
		this.saveCost = saveCost;
	}

	public BigDecimal getMolingModeCost() {
		return molingModeCost;
	}

	public void setMolingModeCost(BigDecimal molingModeCost) {
		this.molingModeCost = molingModeCost;
	}

	public BigDecimal getRateCost() {
		return rateCost;
	}

	public void setRateCost(BigDecimal rateCost) {
		this.rateCost = rateCost;
	}

	public BigDecimal getPayableCost() {
		return payableCost;
	}

	public void setPayableCost(BigDecimal payableCost) {
		this.payableCost = payableCost;
	}

	public BigDecimal getRealCost() {
		return realCost;
	}

	public void setRealCost(BigDecimal realCost) {
		this.realCost = realCost;
	}

	public String getPayments() {
		return payments;
	}

	public void setPayments(String payments) {
		this.payments = payments;
	}

	public String getOddChange() {
		return oddChange;
	}

	public void setOddChange(String oddChange) {
		this.oddChange = oddChange;
	}

	public String getIsSpecialPrice() {
		return isSpecialPrice;
	}

	public void setIsSpecialPrice(String isSpecialPrice) {
		this.isSpecialPrice = isSpecialPrice;
	}

	public String getIsOnSaleStr() {
		return isOnSaleStr;
	}

	public void setIsOnSaleStr(String isOnSaleStr) {
		this.isOnSaleStr = isOnSaleStr;
	}

	public String getTotalDishesCount() {
		return totalDishesCount == null ? "0" : totalDishesCount;
	}

	public void setTotalDishesCount(String totalDishesCount) {
		this.totalDishesCount = totalDishesCount;
	}

	public String getIsOnlinePayment() {
		return isOnlinePayment;
	}

	public void setIsOnlinePayment(String isOnlinePayment) {
		this.isOnlinePayment = isOnlinePayment;
	}
}
